using System;
using System.Collections.Generic;

namespace CMS.Core.Domain
{
    /// <summary>
    /// LinhVuc object for NHibernate mapped table LinhVuc.
    /// </summary>
    [Serializable]
    public class CachXL : DomainObject<System.Int32>
    {
        private System.String _TenCachXL;
        private System.Byte _ThuTu;
        private System.Boolean _TrangThai;

        public CachXL()
        {
        }

        public CachXL(System.Int32 id)
        {
            base.ID = id;
        }

        public virtual System.String TenCachXL
        {
            get { return _TenCachXL; }
            set { _TenCachXL = value; }
        }

        public virtual System.Byte ThuTu
        {
            get { return _ThuTu; }
            set { _ThuTu = value; }
        }

        public virtual System.Boolean TrangThai
        {
            get { return _TrangThai; }
            set { _TrangThai = value; }
        }

        public override int GetHashCode()
        {
            return ID.GetHashCode();
        }
    }
}
